Function Subspace :: _usize literal

auto operator""_usize(unsigned long long val) -> usize

For writing usize literals.

Un-qualified integer literals are 32 bits large (the size of int) and signed values, unless a literal suffix modifies them, such as with _usize which creates an unsigned address-sized value. This is 32 bits for 32-bit targets and 64 bits for 64-bit targets.

Values out of range for usize will fail to compile.

Examples

auto i = 123_usize - (5_usize).abs();
sus_check(i == 118_usize);